<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			// []
			// new Array
			const arr = new Array(5, 6, 7, 8, 9);
			/* for (var i = 0; i < arr.length; i++) {
				arr[i]
			} */
			/* for (let index in arr) {
				arr[index]
			} */
			arr.forEach(function(value, index) {
				// console.log(index + "," + value);
			})

			// arr.forEach((value, index) => console.log(index + "," + value));

			arr.forEach(value => console.log(value))
		</script>
	</body>
</html>
